package org.huis.common.security.exception;

import lombok.Getter;
import org.huis.common.core.enums.ResultCode;

/**
 * @author hewen
 */
@Getter
public class ServiceException extends RuntimeException {

    private final ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
